<style>
.slide-item{border:1px solid #d9dadc;padding:10px;width:400px;display:inline-block;margin:10px;}
</style>
<dl class="n-box">
	<dt class="n-box-head">
		<b>首页图片切换</b>
	</dt>
	<dd class="n-box-body">
		<ul class="n-sep-top">
			<?php
			foreach($data as $key=>$val){
			?>
			<li class="slide-item">
				<a class="n-right" href="<?=n_url('page','slideEdit',['sid'=>$val['id']])?>">编辑</a>
				<?=$val['name']?><br />
				<img style="width:200px;height:80px;" src="/page/slide/<?=$val['img_name']?>">
			</li>
			
			<?php
			}
			?>
		</ul>
	</dd>
</dl>
